package com.todo.sight.infrastructure.repository;


import com.todo.common.common.entity.response.page.PageResult;
import com.todo.sight.infrastructure.entity.condition.SightReportCondition;
import com.todo.sight.infrastructure.entity.po.SightReportPO;

/**
 * (SightReport)表服务接口
 *
 * @author zhangwenxiang
 * @since 2024-03-04 21:10:04
 */
public interface SightReportRepository {

    /**
     * 新增景点上报信息
     *
     * @param sightReportPO
     * @return
     */
    Boolean insertSightReport(SightReportPO sightReportPO);

    /**
     * 更新景点上报信息
     *
     * @param sightReportPO
     * @return
     */
    Boolean updateSightReportById(SightReportPO sightReportPO);

    /**
     * 根据主键id查询景点上报信息
     *
     * @param id
     * @return
     */
    SightReportPO querySightReportById(Long id);

    /**
     * 根据主键id删除景点上报信息
     *
     * @param id
     * @return
     */
    Boolean removeSightReportById(Long id);

    /**
     * 多条件查询景点上报信息
     *
     * @param sightReportCondition
     * @return
     */
    PageResult<SightReportPO> querySightReportByCondition(SightReportCondition sightReportCondition);


}
